home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / VBASIC / DIALGJB2.ZIP / DIALOGJB.TXT < prev    next >
Text File  |  1995-12-06  |  3KB  |  65 lines

  1. DIALOGJB.TXT
  2.  
  3.        DialogJB--The Plain Visual Basic Common Dialog Replacement
  4.  
  5. This took a number of hours to make, but it takes the place of the
  6. Common Dialog Box for opening, reading, or loading files.  With the use
  7. of the List Box controls, it can do everything the Common Dialog Box
  8. can in the "Open File" Action and with a little modification can do
  9. what the "Save File" Action would do.  You could also add a "Help" button
  10. to it and customize it in any way.  Unlike the Common Dialog Box that
  11. ships with Visual Basic, you can control where it appears on the screen,
  12. and you can control the color and appearance.  Add bitmaps, or whatever.
  13. As written, it presents a 3D gray form which has become popular for Windows
  14. applications including Win95.  Most importantly, it takes up a lot less
  15. space--no COMMDLG.DLL, CDIALOG.VBX, CMDIALOG.VBX, THREED.VBX, or other
  16. add-on file.
  17.  
  18. The form DIALOGJB.FRM is the form to add to your main program.  
  19. This is the code for the Common Dialog Box.  The file
  20. DLGJB2.FRM is, strictly speaking, not a form to load, but is a text file
  21. with the routine for loading frmDialogJB from the Main form and three
  22. helpful but optional routines which may be used in a MODULEx.BAS.
  23.  
  24. DialogJB as written includes calls to an INI file.  This, of course,
  25. is optional depending on whether you need to read certain files or if
  26. you need an "initial directory" feature.  I have written it to use
  27. the INIDEMO code put out by Curtis Smith. (Many BBS's and similar services 
  28. carry demos of it.)  There are other similar VBX's--or you may use other
  29. Windows API calls (if you can get the things to work).
  30.  
  31. This was written with Visual Basic for Windows 3.0, but I believe it
  32. works pretty much the same with earlier versions.
  33.  
  34. If you want to see how this is used, check out the shareware utility
  35. WinAlter.
  36.  
  37. Enjoy.
  38.  
  39. James Bair
  40.  
  41.   "This program is produced by a member of the Association of Shareware
  42.     Professionals (ASP).  ASP wants to make sure that the shareware
  43.     principle works for you. If you are unable to resolve a
  44.     shareware-related problem with an ASP member by contacting the member
  45.     directly, ASP may be able to help. The ASP Ombudsman can help you
  46.     resolve a dispute or problem with an ASP member, but does not provide
  47.     technical support for members' products.  Please write to the ASP
  48.     Ombudsman at 545 Grover Road, Muskegon, MI USA 49442-9427, Fax
  49.     616-788-2765, or send a CompuServe message via CompuServe Mail to ASP
  50.     Ombudsman 70007,3536 (or e-mail 70007.3536@compuserve.com)."
  51.  
  52.     Member, Educational Software Cooperative (ESC).
  53.  
  54. Copyright ⌐ 1995, James Bair, All rights reserved.
  55.  
  56.                                     ____|__     |                 «
  57.  P.O. Box 203                    --|       |    |-------------------
  58.  Shelton CT 06484-0203  USA        |   ____|__  |  Association of
  59.                                    |  |       |_|  Shareware
  60.                                    |__|   o   |    Professionals
  61.  CompuServe: 70730,3001          -----|   |   |---------------------
  62.  Internet: 70730.3001@compuserve.com  |___|___|    MEMBER
  63.   (Queries only) jbair@csunet.ctstateu.edu
  64.  
  65.